<!DOCTYPE html>
<html lang="zh">

<head>
    {include file='common/meta'/}
    <style>
        .login-box {
            background-color: rgba(255, 255, 255, .75);
        }

        .login-box p:last-child {
            margin-bottom: 0px;
        }

        .login-form .form-control {
            background: rgba(0, 0, 0, 0.3);
            color: #fff;
        }

        .login-form .has-feedback {
            position: relative;
        }

        .login-form .has-feedback .form-control {
            padding-left: 36px;
        }

        .login-form .has-feedback .mdi {
            position: absolute;
            top: 0;
            left: 0;
            right: auto;
            width: 36px;
            height: 36px;
            line-height: 36px;
            z-index: 4;
            color: #dcdcdc;
            display: block;
            text-align: center;
            pointer-events: none;
        }

        .login-form .has-feedback.row .mdi {
            left: 15px;
        }

        .login-form .form-control::-webkit-input-placeholder {
            color: rgba(255, 255, 255, .8);
        }

        .login-form .form-control:-moz-placeholder {
            color: rgba(255, 255, 255, .8);
        }

        .login-form .form-control::-moz-placeholder {
            color: rgba(255, 255, 255, .8);
        }

        .login-form .form-control:-ms-input-placeholder {
            color: rgba(255, 255, 255, .8);
        }

        .login-form .custom-control-label::before {
            background: rgba(0, 0, 0, 0.3);
            border-color: rgba(0, 0, 0, 0.1);
        }
    </style>
</head>

<body class="center-vh" style="background-image: url(/static/admin/images/login-bg-1.jpg); background-size: cover;">
    <!--页面loading-->
    <!-- <div id="lyear-preloader" class="loading">
        <div class="ctn-preloader">
            <div class="round_spinner">
                <div class="spinner"></div>
                <img src="images/loading-logo.png" alt="">
            </div>
        </div>
    </div> -->
    <!--页面loading end-->
    <div class="login-box p-5 w-420 mb-0 mr-2 ml-2">
        <div class="text-center mb-3">
            <a href="index.html"> <img alt="light year admin" src="/static/admin/images/logo-sidebar.png"> </a>
        </div>
        <form method="post" class="login-form">
            <div class="form-group has-feedback">
                <span class="mdi mdi-account" aria-hidden="true"></span>
                <input type="text" class="form-control" name="username" id="username" placeholder="用户名">
            </div>

            <div class="form-group has-feedback">
                <span class="mdi mdi-lock" aria-hidden="true"></span>
                <input type="password" class="form-control" name="password" id="password" placeholder="密码">
            </div>

            <div class="form-group has-feedback row">
                <div class="col-7">
                    <span class="mdi mdi-check-all form-control-feedback" aria-hidden="true"></span>
                    <input type="text" name="captcha" class="form-control" placeholder="验证码">
                </div>
                <div class="col-5 text-right">
                    <img src="{:url('home/index/vercode')}" alt="captcha"
                        onclick="this.src = `{:url('home/index/vercode')}`" />
                    <!-- <img src="images/captcha.png" class="pull-right" id="captcha" style="cursor: pointer;"
                        onclick="this.src=this.src+'?d='+Math.random();" title="点击刷新" alt="captcha"> -->
                </div>
            </div>

            <div class="form-group">
                <div class="custom-control custom-checkbox">
                    <input type="checkbox" class="custom-control-input" value="1" name="rememberme" id="rememberme">
                    <label class="custom-control-label not-user-select text-white" for="rememberme">5天内自动登录</label>
                </div>
            </div>

            <div class="form-group">
                <button class="btn btn-block btn-primary" type="submit">立即登录</button>
            </div>
        </form>

        <p class="text-center text-white">Copyright © 2022 <a href="http://lyear.itshubao.com">IT书包</a>. All right
            reserved</p>
    </div>
    {include file='common/script'/}
    <!-- <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/main.min.js"></script>
    <script type="text/javascript">;</script> -->
</body>

</html>